<?php /* Smarty version Smarty-3.1.18, created on 2015-09-22 15:20:58
         compiled from "E:\www\gfour\ws\Admin\View\Chat\box_user_list.html" */ ?>
<?php /*%%SmartyHeaderCode:164275600f7a7600c55-65279366%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '52edebfe5c47db21712ff4f0863ea39a3eee098d' => 
    array (
      0 => 'E:\\www\\gfour\\ws\\Admin\\View\\Chat\\box_user_list.html',
      1 => 1442906456,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '164275600f7a7600c55-65279366',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_5600f7a76c4170_40526296',
  'variables' => 
  array (
    '_C' => 0,
    'group_id' => 0,
    'box' => 0,
    'boxs' => 0,
    'box_id' => 0,
    'box_list' => 0,
    'box_list_page' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5600f7a76c4170_40526296')) {function content_5600f7a76c4170_40526296($_smarty_tpl) {?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/detail/default.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/detail/component.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css"/>
		<script src="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
js/detail/modernizr.custom.js"></script>
		
	</head>
	<body>
		<div class="am-g">
			 <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			 	
      <div class="am-u-md-6 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
             <div class="am-btn-group am-btn-group-xs">
            <!--
            <button data-title="新建弹框" data-id="box_<?php echo $_smarty_tpl->tpl_vars['group_id']->value;?>
" data-href="index.php?g=admin&m=chat&a=box_content&id=<?php echo $_smarty_tpl->tpl_vars['box']->value['id'];?>
&group_id=<?php echo $_smarty_tpl->tpl_vars['group_id']->value;?>
" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-plus"></span> 新建弹框</button>
		   -->
		    </div>
            

           
          </div>
        </div>
      </div>
      <div class="am-u-md-3 am-cf">
        <div class="am-fr">
          <div class="am-input-group am-input-group-sm">
          	<select name="cat_id" id="cat_id" class="am-form-field">
               
               <option value="0">--- --- ---</option>
      			<?php  $_smarty_tpl->tpl_vars['box'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['box']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['boxs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['box']->key => $_smarty_tpl->tpl_vars['box']->value) {
$_smarty_tpl->tpl_vars['box']->_loop = true;
?>
				 <option value="<?php echo $_smarty_tpl->tpl_vars['box']->value['id'];?>
"   <?php if ($_smarty_tpl->tpl_vars['box_id']->value==$_smarty_tpl->tpl_vars['box']->value['id']) {?>selected<?php }?>   ><?php echo $_smarty_tpl->tpl_vars['box']->value['name'];?>
</option>
				 <?php } ?>
            </select>
          
                <span class="am-input-group-btn">
                  <button class="am-btn am-btn-default" type="button" onclick="searchMenu()">搜索</button>
                </span>
          </div>
        </div>
      </div>
      
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
               <th class="table-title"></th>
                <th class="table-title">序号</th>
                <th class="table-type">用户openid</th>
                <th class="table-date">关联弹框组</th>
				<th class="table-date">奖项</th>
				<th class="table-date">真实姓名</th>
                <th class="table-date">联系电话</th>
                <th class="table-date">提交时间</th>
                
                
              </tr>
          </thead>
          <tbody>
          	<?php  $_smarty_tpl->tpl_vars['box'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['box']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['box_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['box']->key => $_smarty_tpl->tpl_vars['box']->value) {
$_smarty_tpl->tpl_vars['box']->_loop = true;
?>
            <tr>
            	<td></td>
              <td><?php echo $_smarty_tpl->tpl_vars['box']->value['id'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['box']->value['openid'];?>
（<?php echo $_smarty_tpl->tpl_vars['box']->value['nickname'];?>
）</td>
			   <td><?php echo $_smarty_tpl->tpl_vars['box']->value['group_name'];?>
</td>
			     <td><?php echo (($tmp = @$_smarty_tpl->tpl_vars['box']->value['box_name'])===null||$tmp==='' ? " - " : $tmp);?>
</td>
				<td><?php echo $_smarty_tpl->tpl_vars['box']->value['name'];?>
 </td>
				<td><?php echo $_smarty_tpl->tpl_vars['box']->value['phone'];?>
</td>
				 <td><?php echo $_smarty_tpl->tpl_vars['box']->value['addtime'];?>
</td>
 
            </tr>
             <?php } ?> 
          </tbody>
        </table>
          <div class="am-cf">

  <div class="am-fr">
  	<div class="hy_page">
  <?php echo $_smarty_tpl->tpl_vars['box_list_page']->value;?>

  </div>
  </div>
</div>
          <hr />
      
        </div>
      </div>

    </div>
    </div>
   <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

  
  
		<script>
   	
	function searchMenu()
	{
//		alert($("#cat_id option:selected").val());	
		
		window.location.href = "index.php?g=admin&m=chat&a=box_user_list&group_id=<?php echo $_smarty_tpl->tpl_vars['group_id']->value;?>
&box_id="+$("#cat_id option:selected").val();
	}
	
   </script>
	</body>
</html>
<?php }} ?>
